package com.haddonhillgroup.sample.rest;

import javax.xml.transform.TransformerException;

import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.api.client.config.DefaultClientConfig;

/**
 * Hello world!
 * 
 */
public class Main {

	public static void main(String[] args) throws TransformerException {

		
		DefaultClientConfig cc = new DefaultClientConfig();

		com.sun.jersey.api.client.Client c = com.sun.jersey.api.client.Client
				.create(cc);
		WebResource wr = c.resource("http://hello");
		System.out.println(wr.getURI());
		
		WebResource wr2 = wr.path("Test");
		System.out.println(wr2.getURI());
		

		
		//GoogleCodeIssueClient gci = new GoogleCodeIssueClient();
		//gci.printAll("beacon-framework");
		// gci.printIssue("beacon-framework", 3);

		//TwitterSearchClient tc = new TwitterSearchClient();
		// tc.printSearch("lebowski");

		// WpsClient wps = new WpsClient();
		// wps.printTasks();
		// WebResource wr =
		// c.resource("http://search.twitter.com/search.atom").queryParam("q",
		// "lebowski");

	}
}
